var n = getApp();

Page({
    data: {
        codes: []
    },
    onLoad: function(n) {},
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {},
    getData: function() {
        var o = this, t = n.getNetAddresss("plugin.team-fjyx.api.index.codeRecord");
        n._getNetWork({
            url: t,
            success: function(n) {
                var t = n.data;
                1 === t.result ? o.setData({
                    codes: t.data
                }) : wx.showToast({
                    title: t.msg,
                    icon: "none"
                });
            },
            fail: function(n) {
                console.log(n);
            }
        });
    }
});